// 基于template/src/views/\{{appModules}}/\{{pages@DETREEEXPVIEW}}/\{{spinalCase page.codeName}}-model.ts.hbs生成
import { ITreeExpViewModel } from "@/core/interface";
function getModel(): ITreeExpViewModel {
  return {
		{{> @macro/view/view-model.hbs page=page}}
		sideBarLayout: '{{#eq page.sideBarLayout 'TOP'}}TOP{{else}}LEFT{{/eq}}',
{{#page.ctrls}}
	{{#eq controlType 'TREEEXPBAR'}}
		expBarName: '{{codeName}}',
		expBarWidth: {{width}},
		expBarHeight: {{height}}
	{{/eq}}
{{/page.ctrls}}
  }
}
export const model = getModel();